<?php

namespace WoXuanWang\Video\Repositories;

use WoXuanWang\Video\Models\Video;
use zgldh\Scaffold\BaseRepository;

class VideoRepository extends BaseRepository
{
    /**
     * @var array
     */
    protected $fieldSearchable = [
        'title',
        'description',
        'from',
        'visible_purview',
        'released_at',
        'funding_id',
        'note'
    ];

    /**
     * Configure the Model
     **/
    public function model()
    {
        return Video::class;
    }
}
